<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="head.jsp"%>
<jsp:useBean id="link" scope="page" class="dsp.database.Operation"/>
<%
sql = "SELECT * FROM web_link ORDER BY id ASC";
rs = link.query(sql);
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="inc/cool<%=temp%>.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" align=center cellpadding=3 cellspacing=1 class=tableborder1>
<%
while(rs.next())
{
%>
    <tr> 
      <td width="20%" height="25" valign=middle class=tablebody1><a href="<%=rs.getString("url")%>" target="_blank"><%=rs.getString("name")%></a></td>
	<%
	for(int i = 1; i < 4; i++)
	{
		if(rs.next())
		{
	%>	
      <td width="20%" height="25" valign=middle class=tablebody1><a href="<%=rs.getString("url")%>" target="_blank"><%=rs.getString("name")%></a></td>
	<%
		}
		else
		{
			break;
		}
	}
	%>
	</tr>
	<%
}
	%>
</table>
</body>
</html>
<%
link.closestmt();
link.closeconn();
%>
<%@ include file="copyright.jsp"%>